package com.yuyou.fn.educational.vo;


import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Size;
import java.util.Date;
/**
 * Created by lzh on 2019/3/26.
 */
public class ApplyClassSaveOrUpdateVo {

    private Long applyClassId;

    @NotNull
    private Long areaTeamId;
    @NotNull
    private Long periodId;
    @NotNull
    private Long busTeamId;
    @NotNull
    private Long gradeId;
    @NotNull
    private Long subjectId;
    @NotNull
    private Integer level;

    @NotEmpty
    private String className;
    @NotNull
    private Date startCourseTime;

    @NotEmpty
    @Pattern(regexp = "[012][0-9]:[0-5][0-9]-[012][0-9]:[0-5][0-9]")
    @ApiModelProperty("格式 00:00-00:00")
    private String studyingTime;

    private Long teacherId;

    @Size(min = 0,max = 300)
    @ApiModelProperty("申请理由")
    private String applyReason;

    public Long getApplyClassId() {
        return applyClassId;
    }

    public void setApplyClassId(Long applyClassId) {
        this.applyClassId = applyClassId;
    }

    public Long getAreaTeamId() {
        return areaTeamId;
    }

    public void setAreaTeamId(Long areaTeamId) {
        this.areaTeamId = areaTeamId;
    }

    public Long getPeriodId() {
        return periodId;
    }

    public void setPeriodId(Long periodId) {
        this.periodId = periodId;
    }

    public Long getBusTeamId() {
        return busTeamId;
    }

    public void setBusTeamId(Long busTeamId) {
        this.busTeamId = busTeamId;
    }

    public Long getGradeId() {
        return gradeId;
    }

    public void setGradeId(Long gradeId) {
        this.gradeId = gradeId;
    }

    public Long getSubjectId() {
        return subjectId;
    }

    public void setSubjectId(Long subjectId) {
        this.subjectId = subjectId;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public Date getStartCourseTime() {
        return startCourseTime;
    }

    public void setStartCourseTime(Date startCourseTime) {
        this.startCourseTime = startCourseTime;
    }

    public String getStudyingTime() {
        return studyingTime;
    }

    public void setStudyingTime(String studyingTime) {
        this.studyingTime = studyingTime;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public String getApplyReason() {
        return applyReason;
    }

    public void setApplyReason(String applyReason) {
        this.applyReason = applyReason;
    }

}
